﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LevelEditor.Model.Enum;
using System.Xml.Serialization;

namespace LevelEditor.Model.Entity
{
    [Serializable]
    public class Animation
    {
        public AnimationEnum AnimationType { get; set; }
        public string Name { get; set; }
        [XmlIgnore]
        public SpriteSheet SpriteSheet { get; set; }
        public int SpriteSheetID { get; set; }
        public int StartIndex { get; set; }
        public int EndIndex { get; set; }
        public int FrameRate { get; set; }
        public bool LoopAnimation { get; set; }
    }
}
